package com.ryx.vo.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @BelongsPackage: com.ryx.vo.req
 * @Author: 容永轩
 * @CreateTime: 2020-12-28
 * @Description: 新增角色vo
 */
@Data
public class AddRoleReqVo {

    @ApiModelProperty(value = "角色Name")
    @NotBlank(message = "Name: not null")
    private String name;

    @ApiModelProperty(value ="description..." )
    private String description;

    @ApiModelProperty(value = "status")
    private Integer status;

    @ApiModelProperty(value = "权限集合")
    private List<String> permissions;




}
